package chexuan.game.interfaces.packet;

import java.io.IOException;

import chexuan.game.service.io.stream.PacketInputStream;
import chexuan.game.service.io.stream.PacketOutputStream;

public interface InterfacePacket {

	public void writeObject(PacketOutputStream out) throws IOException;

	public void readObject(PacketInputStream in) throws IOException;

	public int getPacketSize();
}
